package com.swallow.auth.domain.auth.service;

import com.swallow.auth.domain.auth.model.AuthRoot;

/**
 * @author: 18310740596@163.com
 * @date: 2024-05-11 00:32:57
 * @version: v1.0
 * @describe: class responsibility
 */
public interface IAuthDomainService {
    /**
     *  短信验证码
     *
     * @param authRoot 聚合根
     */
    void smsCaptcha(AuthRoot authRoot);

    AuthRoot pictureCaptcha();

    /**
     *  账号注册
     *
     * @param authRoot 聚合根
     * @return         账号
     */
    String register(AuthRoot authRoot);
}
